package com.zhny.aiot.infrared.ray.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class InfraredRayStoreEntry extends StoreEntity {
    @PropertyValue(alias = "进入人数",description = "当前房间进入人数", variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check, commandCode="query", eventType=EventType.Click)
    })
    private Integer inCount;
    @PropertyValue(alias = "离开人数",description = "当前房间离开人数",variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check, commandCode="query", eventType=EventType.Click)
    })
    private Integer outCount;
    @PropertyValue(alias = "剩余人数",description = "当前房间剩余人数",variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check, commandCode="query", eventType=EventType.Click)
    })
    private Integer leaveCount;
}
